<xs:complexType name="salerow" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:all>
<xs:element name="isinvoicesale" type="xs:boolean" minOccurs="1" />
<xs:element name="saledatetime" type="xs:dateTime" minOccurs="1" />
<xs:element name="saletype" type="xs:string" minOccurs="1" />
<xs:element name="totalgrosssaleexvat" type="xs:decimal" minOccurs="1" />
<xs:element name="totalnetsaleexvat" type="xs:decimal" minOccurs="1" />
<xs:element name="vatcode" type="xs:byte" minOccurs="1" />
<xs:element name="vatpercentage" type="xs:decimal" minOccurs="1" />
<xs:element name="pcepurchase" type="xs:decimal" minOccurs="1" />
<xs:element name="amount" type="xs:decimal" minOccurs="1" />
<xs:element name="salenumber" type="xs:int" minOccurs="1" />
<xs:element name="articlecategorycode" type="xs:string" minOccurs="1" />
<xs:element name="articlegroupcode" type="xs:string" minOccurs="0" />
<xs:element name="articlenumber" type="xs:long" minOccurs="1" />
<xs:element name="articledescription" type="xs:string" minOccurs="0" />
<xs:element name="externalarticlecode" type="xs:long" minOccurs="0" />
<xs:element name="barcode" type="xs:long" minOccurs="0" />
<xs:element name="suppliercode" type="xs:string" minOccurs="1" />
<xs:element name="suppliername" type="xs:string" minOccurs="0" />
<xs:element name="isproductgroup" type="xs:boolean" minOccurs="1" />
<xs:element name="issale" type="xs:boolean" minOccurs="1" />
<xs:element name="zipcode" type="xs:string" minOccurs="0" />
<xs:element name="customernumber" type="xs:long" minOccurs="0" />
<xs:element name="loyaltycardcode" type="xs:string" minOccurs="0" />
<xs:element name="promotioncode" type="xs:string" minOccurs="0" />
<xs:element name="promotionvoucherbarcode" type="xs:long" minOccurs="0" />
<xs:element name="promotionvoucherdescription" type="xs:string" minOccurs="0" />
<xs:element name="discounttype" minOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="notspecified|nodiscount|mixedmatchdiscount|quantitypricebreakdiscount|discountagreementclassificationdiscount|manualrowdiscount|manualrowpriceincrease|subtotaldiscount|purchasepriceraisepercentage|discountagreementclassificationdiscount|queuebustingsale|transactiondiscount" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="costcentercode" type="xs:string" minOccurs="0" />
</xs:all>
<xs:attribute name="posrowid" type="xs:int" use="required" />
</xs:complexType>
|